package top.lshaci.learning.springboot.mybatisplus.service;

import org.springframework.transaction.annotation.Transactional;
import top.lshaci.learning.springboot.mybatisplus.entity.TableEntity;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author lshaci
 * @since 2022-06-23
 */
@Transactional(rollbackFor = Exception.class)
public interface TableService extends IService<TableEntity> {

    void insert(TableEntity entity);
}
